package com.songlanyun.modules.systeminfo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.common.utils.Query;

import com.songlanyun.modules.systeminfo.dao.SystemInfoDao;
import com.songlanyun.modules.systeminfo.entity.SystemInfo;
import com.songlanyun.modules.systeminfo.service.SystemInfoService;


@Service("yxtSystemInfoService")
public class SystemInfoServiceImpl extends ServiceImpl<SystemInfoDao, SystemInfo> implements SystemInfoService {


    @Override
    public SystemInfo info() {
        return this.baseMapper.selectOne(
                new LambdaQueryWrapper<SystemInfo>()
                        .last("limit 1")
        );
    }
}
